/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package appclase1ejbjosoull;

import ejb30.to.AreaTO;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author Renato
 */
public class ProbarInsercionArea {
    public static void main(String...args){
        AreaTO area=new AreaTO();
        area.setId("002");
        area.setNombre("area1");
        try {
            OperacionesDelegate.getInstance().insertarArea(area);
        } catch (Exception ex) {
            Logger.getLogger(ProbarInsercionArea.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
}
